package d3_safe;

public class ThreadTest {
    public static void main(String[] args) {
        Account acc = new Account(100000,"ABC");
        DrawThread t1 = new DrawThread("小米",acc);
        DrawThread t2 = new DrawThread("小王",acc);
        t1.setName("小米");
        t2.setName("小王");
        t1.start();
        t2.start();
    }
}
